package com.bs.bszhsq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 在线报修
 * </p>
 *
 * @author 章宇光
 * @since 2024-03-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Fix对象", description = "在线报修")
public class Fix implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("创建时间")
      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      private LocalDateTime addtime;

      @ApiModelProperty("报修单号")
      private String orderId;

      @ApiModelProperty("报修名称")
      private String name;

      @ApiModelProperty("门牌号")
      private String door;

      @ApiModelProperty("报修内容")
      private String content;

      @ApiModelProperty("报修日期")
      @JsonFormat(pattern = "yyyy-MM-dd")
      private LocalDate fixDate;

      @ApiModelProperty("报修备注")
      private String note;

      @ApiModelProperty("姓名")
      private String username;

      @ApiModelProperty("手机")
      private String phone;
      @ApiModelProperty("是否解决")
      private String solve;
      @ApiModelProperty("回复内容")
      private String relf;

}
